import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
import store from  "./store/index"
import axios from 'axios'
// 按需引用组件main.js是一定要引入的
 import { MessageBox } from 'mint-ui';
 import { Button } from 'mint-ui';
 axios.defaults.baseURL = "/api"
 Vue.prototype.$axios = axios
Vue.component(MessageBox.name, MessageBox);
Vue.component(Button.name, Button);
Vue.config.productionTip = false
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
